home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / modules / nessus-2.2.8.mo / usr / lib / nessus / plugins / redhat-RHSA-2004-612.nasl < prev    next >
Text File  |  2005-01-14  |  5KB  |  218 lines

  1. #
  2. # (C) Tenable Network Security
  3. #
  4. #
  5. # The text of this plugin is (C) Red Hat Inc.
  6.  
  7. if ( ! defined_func("bn_random") ) exit(0);
  8. if(description)
  9. {
  10.  script_id(16019);
  11.  script_version ("$Revision: 1.1 $");
  12.  script_cve_id("CAN-2004-0914");
  13.  
  14.  name["english"] = "RHSA-2004-612: XFree";
  15.  
  16.  script_name(english:name["english"]);
  17.  
  18.  desc["english"] = '
  19.  
  20.   Updated XFree86 packages that fix several security flaws in libXpm are now
  21.   available for Red Hat Enterprise Linux 3.
  22.  
  23.   XFree86 is an open source implementation of the X Window System. It
  24.   provides the basic low level functionality which full fledged graphical
  25.   user interfaces (GUIs) such as GNOME and KDE are designed upon.
  26.  
  27.   Several integer overflow flaws in the X.Org libXpm library used to decode
  28.   XPM (X PixMap) images have been found and addressed. An attacker could
  29.   create a carefully crafted XPM file which would cause an application to
  30.   crash or potentially execute arbitrary code if opened by a victim. The
  31.   Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
  32.   the name CAN-2004-0914 to this issue.
  33.  
  34.   Users are advised to upgrade to these erratum packages, which contain
  35.   backported security patches as well as other bug fixes.
  36.  
  37.  
  38.  
  39.  
  40. Solution : http://rhn.redhat.com/errata/RHSA-2004-612.html
  41. Risk factor : High';
  42.  
  43.  script_description(english:desc["english"]);
  44.  
  45.  summary["english"] = "Check for the version of the XFree packages";
  46.  script_summary(english:summary["english"]);
  47.  
  48.  script_category(ACT_GATHER_INFO);
  49.  
  50.  script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
  51.  family["english"] = "Red Hat Local Security Checks";
  52.  script_family(english:family["english"]);
  53.  
  54.  script_dependencies("ssh_get_info.nasl");
  55.  
  56.  script_require_keys("Host/RedHat/rpm-list");
  57.  exit(0);
  58. }
  59.  
  60. include("rpm.inc");
  61. if ( rpm_check( reference:"XFree86-100dpi-fonts-4.3.0-78.EL", release:"RHEL3") )
  62. {
  63.  security_hole(0);
  64.  exit(0);
  65. }
  66. if ( rpm_check( reference:"XFree86-4.3.0-78.EL", release:"RHEL3") )
  67. {
  68.  security_hole(0);
  69.  exit(0);
  70. }
  71. if ( rpm_check( reference:"XFree86-75dpi-fonts-4.3.0-78.EL", release:"RHEL3") )
  72. {
  73.  security_hole(0);
  74.  exit(0);
  75. }
  76. if ( rpm_check( reference:"XFree86-ISO8859-14-100dpi-fonts-4.3.0-78.EL", release:"RHEL3") )
  77. {
  78.  security_hole(0);
  79.  exit(0);
  80. }
  81. if ( rpm_check( reference:"XFree86-ISO8859-14-75dpi-fonts-4.3.0-78.EL", release:"RHEL3") )
  82. {
  83.  security_hole(0);
  84.  exit(0);
  85. }
  86. if ( rpm_check( reference:"XFree86-ISO8859-15-100dpi-fonts-4.3.0-78.EL", release:"RHEL3") )
  87. {
  88.  security_hole(0);
  89.  exit(0);
  90. }
  91. if ( rpm_check( reference:"XFree86-ISO8859-15-75dpi-fonts-4.3.0-78.EL", release:"RHEL3") )
  92. {
  93.  security_hole(0);
  94.  exit(0);
  95. }
  96. if ( rpm_check( reference:"XFree86-ISO8859-2-100dpi-fonts-4.3.0-78.EL", release:"RHEL3") )
  97. {
  98.  security_hole(0);
  99.  exit(0);
  100. }
  101. if ( rpm_check( reference:"XFree86-ISO8859-2-75dpi-fonts-4.3.0-78.EL", release:"RHEL3") )
  102. {
  103.  security_hole(0);
  104.  exit(0);
  105. }
  106. if ( rpm_check( reference:"XFree86-ISO8859-9-100dpi-fonts-4.3.0-78.EL", release:"RHEL3") )
  107. {
  108.  security_hole(0);
  109.  exit(0);
  110. }
  111. if ( rpm_check( reference:"XFree86-ISO8859-9-75dpi-fonts-4.3.0-78.EL", release:"RHEL3") )
  112. {
  113.  security_hole(0);
  114.  exit(0);
  115. }
  116. if ( rpm_check( reference:"XFree86-Mesa-libGL-4.3.0-78.EL", release:"RHEL3") )
  117. {
  118.  security_hole(0);
  119.  exit(0);
  120. }
  121. if ( rpm_check( reference:"XFree86-Mesa-libGLU-4.3.0-78.EL", release:"RHEL3") )
  122. {
  123.  security_hole(0);
  124.  exit(0);
  125. }
  126. if ( rpm_check( reference:"XFree86-Xnest-4.3.0-78.EL", release:"RHEL3") )
  127. {
  128.  security_hole(0);
  129.  exit(0);
  130. }
  131. if ( rpm_check( reference:"XFree86-Xvfb-4.3.0-78.EL", release:"RHEL3") )
  132. {
  133.  security_hole(0);
  134.  exit(0);
  135. }
  136. if ( rpm_check( reference:"XFree86-base-fonts-4.3.0-78.EL", release:"RHEL3") )
  137. {
  138.  security_hole(0);
  139.  exit(0);
  140. }
  141. if ( rpm_check( reference:"XFree86-cyrillic-fonts-4.3.0-78.EL", release:"RHEL3") )
  142. {
  143.  security_hole(0);
  144.  exit(0);
  145. }
  146. if ( rpm_check( reference:"XFree86-devel-4.3.0-78.EL", release:"RHEL3") )
  147. {
  148.  security_hole(0);
  149.  exit(0);
  150. }
  151. if ( rpm_check( reference:"XFree86-doc-4.3.0-78.EL", release:"RHEL3") )
  152. {
  153.  security_hole(0);
  154.  exit(0);
  155. }
  156. if ( rpm_check( reference:"XFree86-font-utils-4.3.0-78.EL", release:"RHEL3") )
  157. {
  158.  security_hole(0);
  159.  exit(0);
  160. }
  161. if ( rpm_check( reference:"XFree86-libs-4.3.0-78.EL", release:"RHEL3") )
  162. {
  163.  security_hole(0);
  164.  exit(0);
  165. }
  166. if ( rpm_check( reference:"XFree86-libs-data-4.3.0-78.EL", release:"RHEL3") )
  167. {
  168.  security_hole(0);
  169.  exit(0);
  170. }
  171. if ( rpm_check( reference:"XFree86-sdk-4.3.0-78.EL", release:"RHEL3") )
  172. {
  173.  security_hole(0);
  174.  exit(0);
  175. }
  176. if ( rpm_check( reference:"XFree86-syriac-fonts-4.3.0-78.EL", release:"RHEL3") )
  177. {
  178.  security_hole(0);
  179.  exit(0);
  180. }
  181. if ( rpm_check( reference:"XFree86-tools-4.3.0-78.EL", release:"RHEL3") )
  182. {
  183.  security_hole(0);
  184.  exit(0);
  185. }
  186. if ( rpm_check( reference:"XFree86-truetype-fonts-4.3.0-78.EL", release:"RHEL3") )
  187. {
  188.  security_hole(0);
  189.  exit(0);
  190. }
  191. if ( rpm_check( reference:"XFree86-twm-4.3.0-78.EL", release:"RHEL3") )
  192. {
  193.  security_hole(0);
  194.  exit(0);
  195. }
  196. if ( rpm_check( reference:"XFree86-xauth-4.3.0-78.EL", release:"RHEL3") )
  197. {
  198.  security_hole(0);
  199.  exit(0);
  200. }
  201. if ( rpm_check( reference:"XFree86-xdm-4.3.0-78.EL", release:"RHEL3") )
  202. {
  203.  security_hole(0);
  204.  exit(0);
  205. }
  206. if ( rpm_check( reference:"XFree86-xfs-4.3.0-78.EL", release:"RHEL3") )
  207. {
  208.  security_hole(0);
  209.  exit(0);
  210. }
  211.  
  212. if ( rpm_exists(rpm:"XFree-", release:"RHEL3") )
  213. {
  214.  set_kb_item(name:"CAN-2004-0914", value:TRUE);
  215. }
  216.  
  217. set_kb_item(name:"RHSA-2004-612", value:TRUE);
  218.